completed array homework