restructured Network.java
added bias and numInputs variables