Finished problem 2b
Finished problem 2b