rewrote array code to fix error

Console was giving me an error message saying my array wasn't defined.
Fixed the issue
workspace file to idea folder
redefined first array with prompt message and commented for the line
added comment for Array expression
workspace file to idea folder