My code for ApartmentList's challenge