bugfixes, activate now takes a parameter board

added operator= and swap to block