add soultion for problem 100