Help for this page
print "BAM!\n" if exists $G{25}{30};
{ 1 => { 2 => 0, 3 => 0 }, ... 25 => {}, } Start: 1, End: 5
my %G = ( 1=>{ EDGES=> { # Edges for node 1 ... }, 2=> ... }