added excersize 4 solution