A maze program for the terminal using ncurses