Started writing prime generator