Create Graph Connectivity - Uva 459