Added #13 solution and part of #14