Updates query-chapter1.py with minor rearranging, additional notes, removal of unneccessary pieces.