problem 5 finished
Finished problem 6