My Solution to the ApartmentListInterview2013 problem