homework done

believe I've done this right