Added A* and use it in TileMapEditor, plus added saving files.