add new solution for problem 1