Adding a walkedTile list to reduce the need to rebuild the path list every time.