Writing an app to solve a tile puzzle my folks got for Christmas.