Modified simple_graphics.js and the lecture notes relating to it
(deleted a lot of now irrelevant things in the lecture notes)