add isCheck() method, for check king (not tested)
modified move() on pawn case
add pawnmove() and pawnkill()