added line numbers to vocabsample output + fixed formatting