this script should only be used to solve the puzzle and print the solution if one is found. I will do this by returning 0, and printing the solution to stdout, or returning 1 on failure