I am trying to get a for loop to work. I have other iterations of this code but cannot for the life of me figure why this particular version is not working correctly.