introducing fix for issue #4 - improper determination of Knight putting King in check