Resembling the synapses and neurons of the brain