added timings for castling
checks are checked first, hence mates are detected a lot faster