Added scripts to solve part 4.