Code snippets for teaching programming to others