Code for assembling data for LDA

Wrapped in __main__