Array of structures: Part 2 (maze.js)

Closes #42