Refactor abstract.js within 'sliding_tiles'. Add helper functions: 1) getTile, 2) getEmptyTile, 3) getIndexOfTile, 4) areNeighbors, and modify swapValuesAt.