Fix coding style issues + Add srand to every example