Move generation fixed. Added perft compare tool.