Use alternative syntax for array creation

Showing off some syntactical sugar that makes ruby more concise compared to Java.