Add Chess960 support.
Fixed legal destinations for chess960