moved Node class to different file, insertingHead now works