An Automated System for Arrhythmia Detection using ECG records from MITDB