It turns out, if you knew a little bit more about the standard library in sml, there's a built-in function that computes the max of two integers and whenever there's a built-in function, it's usually easier to read. 