Grandpa told you that there were sharks and dragons with top hats inside the Bermuda Rectangle. Ever the curious one, you decided to see for yourself. Due to the bizarre nature of the Bermuda Rectangle, you can only survive if you find a safe path. The rules are the following:
1. You start and end on the same square.
2. You can only turn when you see (are on the same square as) a shark (blue) or dragon (purple).
3. Once you're in a shark- or dragon-infested region, you will be chased down! You must visit every square within a colored region to escape.