implemented algorithm to compute nearest GTF entry given BED file.