moved Machine.scala parent package
refactor
refactor Perceptron, added XOR
added NeuralNetwork and XOR