Replacing tdl and ttl aliases with functions

This will take one numerical argument - number of lines.
Default is tail provides.