solved problem 158b, taxis in python