code for integration

-pass in the number of the question
-need to make the connection timeouts call functions that show a warning
in the GUI