writes out tweets grouped by locations