Maze algorithm for generating 2D maze game fields