Simple program to calculate partial costs when sharing a ride with others.