Update lab8.m