Merge scanzoneri/chess/master
Added nextSet() and nextClear()
Added BIT* constants