Finished Lab 4 for CS380