removed multiple print statements created for debugging that are no longer need. Preformed minor runtime optimizations using information from cProfile.