Example code for Understanding Computation