neural_network_or_gate_implementation Can be tweaked to work as and gate as well it is single perceptron neural network with activation as sigmoid and using back propagation alogorithm for objective function