Kara walks diagonally forth and back

In order for this program to work, the world has to be quadratic.

Start: Kara must start in the lower left corner of the world, looking to the right:

World size: The smallest world is 4x4 fields.