Solve the smallest multiple problem in project euler.