Beginning Lab 4 code.