began Ch5 Programming Challenges, finished 6.distance.cpp