title: Single layer perceptron: incorporating bias
body: <p>How would I go about adding to <a href="https://github.com/llSourcell/Make_a_neural_network/blob/master/demo.py" rel="nofollow noreferrer">this code</a> to include bias in the network? Is it as simple as adding a + 1 to the forward pass in the <code>think(self, inputs)</code>method? How would I generalise this solution to a multi-layer perceptron?</p>