Some code abstractions. Created a new Pair class that handles all possible outcomes that a certain Mex game can have.