inputWord implemented and add/remove letter refactored