added Node.java and made info gain work