fixed a simple error in initializemaze