added specs
Added default child functionality to the node class