Recurrent Neural Network Strategies for Classifying Cardiac Ailments from ECG Signal