add cab ride logic to taxi and passenger classes