first test passing, can calculate distance from A-B-C