maze program for cosc102 (mliu & egoberdon)