let
nodes : (e * int) list ref = ref []