Added basic argument taking
Learning how to error correction and open files in java.