A Novel Deep Learning Method for Recognition and Classification of Brain Tumors from MRI Images