1437. Longest path in a tree - Accepted

Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarreddy@gmail.com>