spike for assignment 3 'Quiz' - Programming in Java