Starting to write the data mining code