added solution to 2nd challenge