Implemented randomized Backtrack algorithm to solve puzzle.