readme for problem1b, problem2a, problem2b. modify problem2 api