add subroutine loadtxt_int

you can use integer data