add function for computing entropy for different type of dataset. add linked list data structure. but both need to implement