Solved problem 5, smallest multiple