This is a demo program that uses a stack algorithm for reading  a file and prints its lines in reverse order.