Revert "Revert "New insertWords logic.""

This reverts commit cbc3bf6d14953742f6759485aaf2f4183bf541dd.
Changed a few things and fixed a problem with word insertion!