added classes for basic statistics-related functionality. Words are now stored in Word-class instead of hashmap