categorize.pl

This basically takes in the input, calculates frequency and categorizes it.