merge files

usage: g++ application.cc node.cpp -lpthread