add accessors in layer class. class neural_network, main_network.cpp and new makefile added