Simple command line program Java program just for practice