Bipartite Graph from Trees | CodeChef