Created a Node.java class