finished first version packed_array exercise