Create ReverseLines

this code is for reversing the lines in a file.