Example programs and pseudo code for teaching programming concepts