Solved problem 13.
Merge pull request #2 from mportiz08/problem-13

Solved problem 13.