add types
add bitboard and magic
Merge remote-tracking branch 'upstream/master'