Final version of hw2