Solved prob 13