TASK: Program Scratch Cat to move through the maze without touching any of the black walls and finish completely inside the green square. The Scratch Cat should always face in the direction he is moving. If Scratch does touch a black wall, he should be go back to the beginning to start again.
Use arrow keys to move Scratch Cat.