Fix rook attacking squares
refactor
refactor tostring
Fix castling