changed arrays declare, initialization, and printing

had 1 method for each array - declared it, initialized it, and printed
it - all in 1
changed to declare arrays at class level, 1 method each to initialize
them, and another method to print them