Google Interview Question

Implement a function like the tail utility in Unix/Linux