public static int CreateQuiz(Quiz NewQuiz)
    {
     
            String statement = String.format("INSERT INTO QUIZ (QUIZTITLE, AVAILABLE, SHOWPRACTICEQUESTION,"
                    + "NAVIGATIONENABLED, TIMEALLOWED, FEEDBACKAVAILABLE, RANDOMISEQUESTIONS, TIMEOUTBEHAVIOUR)"
                    + "VALUES('%s', %s, %s, %s, %d, %s, %s, %d)", NewQuiz.quizTitle, String.valueOf(NewQuiz.available),
                    String.valueOf(NewQuiz.showPracticeQuestion), String.valueOf(NewQuiz.navigationEnabled), 
                    NewQuiz.timeLimit, String.valueOf(NewQuiz.feedbackAvailable), String.valueOf(NewQuiz.randomiseQuestions), 
                    NewQuiz.timeOutBehaviour);
            int QuizId = runStatementGetID(statement);
            return QuizId;
 
    }