Split up demo code into Supervised, Unsupervised, and Bayesian files.
Rudimentary CTP learning.