Source code for in class demos.