updated work for assignment 3 and new assignment 6