finished date range method and tests
refactored bed and hostel to use start and end dates