Commented first part of hw 3