Completed 1st part of the first exercise for control flows and arrays