Made new file for prime generator class
Changed to O-O style- code untested