har lavet ny find unexplored brugt til backtracking:
def findUnexploredCells(self,pos,missingWalls):
        posibilities=[]
        for d in missingWalls:
            xy=self.funcDict[d](pos)
            if xy[0]>=0 and xy[1]>=0:
                tmp=self.maze.get(xy[0], xy[1])
                if not tmp:
                    posibilities.append(d)
        return posibilities

    def backtrackFindUnexploredCells(self,pos):
        posibilities=[]
        walls=tmp=self.maze.get(pos[0], pos[1])
        for d in range(4):
            if not (walls &(1<<(3-d))):
                xy=self.funcDict[d](pos)
                tmp=self.maze.get(xy[0], xy[1])
                if not tmp:
                    posibilities.append(d)
        return posibilities