removed unnecessary reversal of the indexes in fill
Initial implementation of fill_double
Fixed order of parameters
Added fill_double example