Adding example word count program in java.
Add attribution for word count example.