initial commit, with learn and getWords methods