added solution for challenge 2