A Neural Network to Detect Homologies in Proteins