Implementing the Sliding Tiles Puzzle in JavaScript - here's what I mean: http://en.wikipedia.org/wiki/Sliding_puzzle