hw3: initial notes and node expander