Made a new maze generator according to Prim's algorithm, but it does not work satisfactory yet