changed output so that can use coordinate to move chess