Diff code: array_fill

Function:
Description: Create an array containing num elements starting with index start_key each initialized to val.
Version A:
Version B: