Molecular Pattern Recognition and Supervised Learning in DNA-Based Neural Network