Creates a GUI that solves a given maze using either a Queue or a Stack