CS 117: Word frequencies.

Write a program that So, for example, if the file contains the text:
The moose and the kudu
frolicked in the
meadow with their friends
the okapi and the gnu.
the output should be:
the         5
and         2
friends     1
frolicked   1
gnu         1
in          1
kudu        1
meadow      1
moose       1
okapi       1
their       1
with        1
Note that punctuation should be removed, and that "the" and "The" are considered to be the same word. You may find the String method toLowerCase() useful.

Good luck!!!