extracted the menu in to its own method
made the students array global. extracted the questions in to their own method.