Creating shape array