Appears to always work for all files. Additional changes will be for extra credit probs.
Added find number of solutions. Also corrected output formatting.