changed one constructor to take quiz and one constructor to create quiz