Add complete implementation of Node class