Added a factors to Prime.java