simple programs for basic programming class