changed maze creation