Add information_gain fuction. Replace Group with Bucket

I find that group may be no suit for Partition. So I changed
to Bucket