Added function for drawing X marks