Lab 6 for SDI 3