A school in Massachusetts is using artificial intelligence tools to help teachers keep students engaged. Faith Lapidus reports.