first 2 exercises of hw4