Engine for procedural language teaching