Modified CubeSolver to allow the user to specify the depth-limit when generating the heuristic values.