finished first exercise in Lab 7