add trn_grid_set_row function

this function is used to shorten the fnc trn_grid_fill
this solves the issue #14
Merge pull request #24 from raoufhamouda/subfunction_in_trn_grid_fill

add trn_grid_set_row function