fixed array homework