solved array definition challenge.js