Implemented feature Cannot caslte if king would end up in check