Turtle Maze Puzzle - Buried treasure

Write a program to help the Turtle find the buried treasure.
The end of the maze is hidden and you must watch out for crabs.