Fixing small typo
Fixed a slight error in the recursive backtracking algorithm, improved documentation, and made the main method a little more reviewer friendly