Cancer segmentation and classification using deep learning and MRI