printing the lines of tail command in reverse order.