Code Runner for quizes in Java: methods, that return array