A simple learning system for Berg's Little Printer.