Problem 3 tree-based prime factorization WIP
Problem 3 solved by prime factorization into a tree