Corrected integer bug

Corrected socket example: random_shape_slider  
Bug on line 12 when moving grid slider. 
Integer expected for step and max range.

Sorry for the added return character.