added ability to print X and O