Array homeworks 1 & 2