Made the data structure an array of Word pointers to speed up swapping, adjusted algorithms and other code to support new data structure.
fixed merge conflicts