Small talk can be an opener to others things and new options. If someone asks you, dont bother to find an answer so much, but rather ask back. You would be surprised how much people like to talk about themselves, which makes my theory that everyon e feels lonely more likely.
To stimulate conversation, you have to ask specific questions and if you say what you are really thinking thats not to bad as well, it gives you sympathy with people ( just dont mock people ). So if someone asks "how was class", you can say "ya you know, school sucks". Bam thats like 5 words and you have nearly already made a friend. And what new and entertaining thoughts this person may have in mind, may at the same time be a solution to your boredom.