An Artificial Neural Network Computational Scheme for Pattern Matching Problems in High Energy Physics