Bash Script Using An Array To Multiply The Object