added calcTargets with coordinates, added part 3 tests