edited doc in main java file for spelling/grammar