finished problem 5
fixed