Update Lesson2HW1.java

changes: 
1) set coordinates as 'final' type
2) set checkAngle() as 'private'