New Version of WordFrequency

relies on ArrayList. Has a sort function