implementation with dummy traversing between neurons
added impl that connect last layer output
to whole network.