added csvwritter for lists in csvfuncs, started working towards generating bag of words