Updated the button function to switch two images each time a button is pressed starting with image O.png
Prevented overwriting a button that has already been pressed. In addition to the codes, we set a Tag for each button starting with number 0, matching our array sequence