Example code for studying data mining