adding stacknode.cpp