A * Pathfinding implemented in lua with Love2d