Removed redundant code in sailByApparentWind
Fixed the exit box notification bug.

Basically the boat is considered to exit if the distance to the exiting edge is less than the distance to the source edge, and the distances are greater than the box width.
Merge branch 'master' of https://github.com/UBCSailbot/ubcsailbots