Alpha beta search works. Added perft, fixed a move generation bug.