adding code to format the data to liblinear format and also including the formatted data