Add prime generator