Code I may use when teaching programming