Added functional for loop, but only prints out array position.