Getting closer, wrote for loop, but it's populating the table horozontally instead of vertically. Next step is vertical population.