Minor changes on the ast and print function of Neighbors_Func and Graph