Create ExerciseOne

My first attempt at an r/dailyprogrammer challenge, in Java.