implemented find-best-angle in project 1