Dinesh Goyal's submission of Game on Tree | CodeChef