gumball machine lab 2 java_pattern