3rd problem done

3rd problem done, 2 more to go