add RRDTool samples
fix minor style
flags permission x bit