longest path in tree solution
added mcoins solution-dp