Start code to build move tables.