Added Node class that builds tree with word combinations