Scientists created a mobile game to help detect the early onset of dementia