added wordcount.java test
added wordcount in file