Updated code
Defined some maze game fuctions