Added loop logic to query only a certain number of results

This addresses issue #1, you can now get any number of results you
want.  If the results parameter is left blank, just the first page of
results is returned.