submitting exercises 2-6