algo3: hw4: started