Mammogram Segmentation by Contour Searching and Mass Lesions Classification with Neural Network