working examples

these examples are now working on my computer. Not 100% sure if it's going to work out of the box on other machines, so check it before merging! Thanks!