Moving prime number method to new file