Implementation of neuron based on hypercube that can learn any logic function.