More Functionality for node.java and created Continent.java