Updated solutions
Merge pull request #2 from pismenny/dp

Updated solutions