Implemented simple maze;