Java file for processing tweets