Added King movement calculation.