Code snippets and common gotchas for ICCP programming students