Implemented dataset reader
put y into one hot format