equal method

add ints equal method