Added castling functionality and 2nd set of rooks. Improved check algorithm