Arrays homework partially done