Refactor Word class to allow for user-inputted word list