finished first part of hw5