KR & R -- based on JFA's book, ch. 13, & lecture by Daphne Vere & Bickmore's Homer system ("A basic agent")