Converted to class, finished y, x translation function to automatically place cursor in the correct location after marking your X or O.