added data mining pseudo code algorithm to comments