Implement ParkingLot using Scala