partially implementation of problem12
.implement a prime generator
.implement a decomposer which an decompose an number into prime factors