Hi there Fergal @BellFergal
As @bobber205 mentions unfortunately it seems like your tutor unfortunately hasn’t given the best information here, but we can try to help you. However please understand that these forums are for folks that are aware of our APIs and developer platform, and we cannot support applications and scripts that were built by third parties.
The developer platform (API) limits the search API calls to a certain number of calls in a time limited window (we call this the “rate limit”). These limits are typically 15 minutes so that explains the logic in the code you’re seeing. There is unfortunately no way to increase the number of Tweets you can search for within the 15 minute window.
If you “need at least 10,000 Tweets” then you’ll have to understand that your requests are going to take a long time to process. All developers are subject to the same API limits.