Add Quiz class solution

This is my solution. There are many like it, but this one is mine.