add king?(pos) function