started on q1 code and added results from tuesday's prac to the tree