Comparison amongst characters
<p>Suppose I have a function which takes in two values and returns one value, as per the rule:</p>

<pre><code>(x,y) should return y
(y,z) should return z 
(z,x) should return x

(y,x) should return y
(z,y) should return z 
(x,z) should return x
</code></pre>

<p>How to I store these cases? The ordering of the parameters do not matter. I do not want to use a series of nested if else statements</p>
