Added a function to get nth line of input