Not sure whether I should move the hole around or slide the tile in. But hey, the source code is provided. Feel free to modify. :)