Reworked check fxn; addword fxn

Took time, but after some guidance from some acquaintances I learned how to streamline the code.