Specific Sequence Learning by an Adaptable Boolean Neural Network