Authorization handler for step logic for Authorizer 2
JavaScript implementation of Eller's maze generation algorithm.