PathFinding version 4: snake can find the food now