Bag of Words implementation for Webpage categorization