The doMove function is now nested in the legalAndIllegal function.
Transposition tables.