Create elements array

Signed-off-by: Filipe Leuch Bonfim <flb09@c3sl.ufpr.br>