added Node.java and NodeType.java to repo