updated hw3 extensively
ok, day12/hw done