Do not follow your history teacher's definition of a democracy. Unless you're asked in a test. XD
There is no fixed definition of democracy. A good democracy is what we think it is and what we wish to make it. This may sound strange. Yet, think of it: is it democratic for someone to dictate to us what a good democracy is?