Jan-22-2021, 10:17 PM
Well I did some timing of your code. It did give correct results!! The only thing was, I had to stop it after the first 5 results were printed. It took extremely long just to get 5 results (over a minute). In the code that I wrote it took .0156 seconds to produce 100 results. I tried it, sorry about the results.