implemented the keyword metch algorihm in the answermanager