program for finding all paths in a maze with GUI