Implementing Shor’s Factoring Algorithm and Comparing to Classical Factoring Algorithms