Added lint to examples
More linting, fix timing bug that broke travis