Added King's behavior and Rook's behavior.