Base of path finding done

Can detect each island as an rect. Needs to create a kinda of graph with
that