Add Eliza implementation from PAIP chapter 5