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

Solved problem 13.
Fixed upstream conflicts.