adding maze code
more changes related to maze