Changed non-static data member initializers by creating a constructor for node struct- downgraded to using std=c++0x from std=c++11