Improved random maze generation