finished problem 4

invoked black magic on problem 4