Changed Node class to have Node pointers instead of int pointers