Switching in Boolean Circuits and Modelling Cognition through Neuroids