added multiple functions and arrays for storing houses