compare two integers