implemented array#fill