Factoring is much faster, solved problems 18-23, running script is better and has timing