Added numseg function - it displays a part of a file - a segment - with line numbers