AGGRNet: Selective Feature Extraction and Aggregation for Enhanced Medical Image Classification