Small example of 3-layer perceptron neural network with sigmoid activation function designed for MNIST dataset