Some sample dynamic programming problems