Passes testCase 5
Passes testCase 6
Passes testCase 7
Passes testCase 8
Implements parking rules