problem set 1, 3, 4

quick peak finding, maze (bfs/dfs), knapsack (dp)