Video games have been seen as bad for kids' educational development. But it turns out that under some circumstances, they could actually help.