added solution for problem no. 2