Deep Learning for Pneumonia Detection Using X-ray Imaging: A Classification Approach