This is the implementation of the LRU policy. The tile is moved to the last index of the array, because it is the most recently used.