Lab 9 for SDI 3