starting ch2 on functions; adding notes to ch3