hw3 stuff
part 1 of assignment 4 done