solved problem 3 with trial division

boo to slow algorithms, but I'm lazy
solved #4