Turtle Maze Puzzle - Arrow walls

Write a program to help the Turtle get to the blue square.
Turtles can only move through arrow walls in one direction.