A Digital "Snake" Implementation of the Back-Propagation Neural Network