My working For Loop solution to the challenge