solved prob 11
solved prob 12