Added examples to readme, script accepts input from stdin, fixed for loop bug that was causing problems with max_results and added next page functionality