problem 13

added problem 13 solution