Finished problem 4, works