SNAKES AND LADDERS!

why we id g.addedge(36,36) in the end bcoz 36 will also get known to the graph from the previous numbers.

ok, i thinj that n was not present as a node but we should add it as a node with no neighbours