added mouselistener to board class