Implementation of automatic pathfinding maze based on depth first algorithm and breadth first algorithm