hw3 and hw4

loops and arrays