Pattern Recognition for Downhole Dynamometer Card in Oil Rod Pump System using Artificial Neural Networks