Added random,
added train() function.
Next up is to expand backPropagation() for hidden layers.