Starting implementing information gain at root algorithm.