Continued working on part 1 of the code.