separate printErrorMessage method from playDyadmino method