Identifying Dementia in MRI Scans Using Artificial Neural Network and K-Nearest Neighbor