prepping for changes in legality test. made arrays in movegen modules extern.