/**
 * Swaps the x and z coordinates in a given tuple of coordinates.
 *
 * @param coordinates A tuple containing the x, y, and z coordinates.
 * @return A tuple with swapped x and z coordinates.
 *
 * Example:
 * swapCoordinates(1, 2, 3) -> (3, 2, 1)
 */
fun swapCoordinates(coordinates: Triple<Int, Int, Int>): Triple<Int, Int, Int> {

    val (x, y, z) = coordinates
    return Triple(z, y, x)
}
/**
 * Swaps the x and z coordinates in a given tuple of coordinates.
 *
 * @param coordinates A tuple containing the x, y, and z coordinates.
 * @return A tuple with swapped x and z coordinates.
 *
 * Example:
 * swapCoordinates(1, 2, 3) -> (3, 2, 1)
 */
fun swapCoordinates(coordinates: Triple<Int, Int, Int>): Triple<Int, Int, Int> {
/**
 * Swaps the x and z coordinates in a given tuple of coordinates.
 *
 * @param coordinates A tuple containing the x, y, and z coordinates.
 * @return A tuple with swapped x and z coordinates.
 *
 * Example:
 * swapCoordinates(1, 2, 3) -> (3, 2, 1)
 */
fun swapCoordinates(coordinates: Triple<Int, Int, Int>): Triple<Int, Int, Int> {

    val (x, y, z) = coordinates
    return Triple(z, y, x)
}