Imparting waterproof properties to cotton surface