Puzzle game using Manhattan heuristics, Qt, convert command line interface into GUI