Added prime generator. Grabbed all prime functions and moved utils to prime