adding some notes from class and from the textbook examples
took out notes, so this just includes the worked examples in class.