some programming problems