Pbes: Created arraylist of buttons to add action listener through a
loop