add maze source code from textbook
copy nim from textbook