add functions

Summ overload
Network
add global variabels:
NC - neuron count
HNC - hidden neuron count