adjusted the program to reflect the input test values for the PC/UVA question 'The Trip'