Create printLastKLines

Interview Snippet