Creating new Node class, Issue with vector