Source: http://rims.ruforum.org/E97D6AE/create-an-array-c.pdf