Scala implementation of ELIZA