Final commit before turning code in; program seems to work mostly, factorization of the number was found to be in the billions though.