saving built maze