A Learning Machine with Monologue