Adding my solution to problem 12

Simple down/right/up/left behavior, with a twist to make the problem more simple for the droid by placing blocks wherever we can.