use Prime class
refactor prime factors
refactor to use map
initial commit for sum of squares