finished addWordHorizontal, wrote a main class to test, everything seems to work