Modeling a Virtual Learning Environment as States of a Touring Machine