Function to get the max value between 2 integers.