implementation of multilayered neural network with basic back-propagation algorithm