Modified merging logic to be more generic.

- Now keeps track of tiles' indexes into the Fibonacci sequence and compares
  tiles' indexes to see if they are adjacent when checking if they can merge.
  Note that this means that the merging algorithm is now not capped at 2584.