Fast Pathfinding for 2d games