Wrote the damn redundant code for trip 2. Don't know why it's not working!!!