Applications Of Discrete Mathematics For Understanding Dynamics Of Synapses And Networks In Neuroscience