Program to implement tail command of Linux