To test for the presence of starch, iodine can be used. A positive reaction results in a black color. A dialysis bag filled with starch solution and secured on both ends is placed in iodine solution. After 30 minutes the dialysis bag appears black. Based on this information, what most accurately describes what happened?