added hw4 files and squashed commits