To run the program just run "java Prime.class" in your terminal