replace if/else statement to guarding statement in the getFrequentPoint method in the Rental class