More work.
Magic bitboards working