Final code for pset2