Update WordFrequency

Need some changes to display top 5 numbers and also in arrange() method