Parking lot implementation in python