public void mouseListener(ActionEvent e, int moveMade) throws ButtonsNotMadeException,ButtonCanNotBeClickedException, WinnerErrorException{ 
		// mouse click events 
		// what happens after a button is clicked 
		//clickButton[i].setText("X")

		if(templateOfBoard[moveMade] == ' '){ // the user can only space a click, so an letter on the field if it is empty 
			((JButton)e.getSource()).setText(Character.toString(userTurn)); // when the button is clicked, we want an X placed there 
			if (userTurn == 'X'){
				UIManager.getDefaults().put("Button.disabledText",Color.RED); // when the but gets disabled the test will turn red 		
			}
			else{
				UIManager.getDefaults().put("Button.disabledText",Color.BLUE);
			}
			//calling the method userTurn to determine who goes next
			//problem is that is expects a String
			//going to override the toString method 
			try {
				userMove(moveMade); // calling userMove in moveMade, moveMade is the index at which the user put either an X or a O
				winner(); // we want to check each time to ensure there was/was not a winner 

			} catch (UserMoveErrorExcepion | WinnerErrorException | BoardErrorException | ButtonsNotMadeException | ButtonCanNotBeClickedException e1) {
				e1.printStackTrace();
			}

		}
	}