adds solution to sum-of-mutliples exexercise