added hw6 and did a bit of hw5