Semantics of Boolean Networks