Start from the top. Write your answer using the "wasd" notation, where "w" is up, "s" is down, "a" is left, "d" is right. Your movements stop whenever there is a choice of which direction to go again, at which point you type another letter to specify the direction.