hw1 done and fully functional