Update with pseudocode, solution, driver code, and reflections.