added complete solution for 6-13