Lab 6 for SDI 4