Implemented array_pad()