made data parser
fixed parser to parse columns instead of rows
Fixed matching and test.