Having a dog strengthens the brain