added printNode routine. Added error for symbol already defined