Let's start at the beginning since we don't know what information you DID find on the internet. First of all, be sure all your spelling is correct because "mechanics" (grammar, etc.) of a paper are important for the grade.
1. Looking at the first part, try here:
2. Then looking at some of the following links, collecting information you do not yet have as you go:
3. For "how to write a good thesis statement" try some of the following:
Finally, some teachers are more impatient than others. Don't take what he said to you "personally" because he was just venting and not necessarily to YOU personally. Just accept the fact that what you had done was not satisfactory, start over keeping in mind any suggestions he may have had. (and shame on him if he didn't give you "direction!")
Sra (aka Mme)