Problem description for a maze

You are to develop an interactive program which alows the user to move a cursor around in a maze. The maze to be used is specified on a file (file format.)

When the program is started, part of the maze is shown on the screen. The part initially shown contains the entrance. The maze only contains horizontal and vertical corridors. Note that  the maze need not entirely fit on the screen.

When the program is started, the cursor is positioned at the entrance. The cursor can be moved in four directions (left, right, up, down). The program stops if an exit is reached.