Some code for an autonomous sailboat, although not completely finished