Simple neural network using gradient descent as the optimisation algorithm and sigmoid function as the activation function