Basic Maze in C