Libreoffice Basic Array Problems In Java