Added solution file pivot and a sample input data.txt

Since in the problem input data format is not specified I assumed space is the delimiter and also fist line will be header/keys.