Updates to traintestsplit and wordcount

now using arrays instead of hashes due to non-unique ID codes.