Added new functionality, now you can print range of lines, also added proper testcase, only basic scenarios supported