Implementation of the Twitter mood calculator written in scala