integer plaindrome 1

working version in Java, will write another one using reverse the
integer.