fix some bugs in examples.R for dimple and add defaultColors and layers(not working perfectly)