added excersize 5b solution