Solver for a certain tile game in Neopets