calculate knight attack all cases