added new function grab_lines to grab all lines from a specific episode containing a specified keyword. Also fixed a few bugs related to input
added new function grab_lines to grab all lines from a specific episode containing a specified keyword. Also fixed a few bugs related to input