#include <stdio.h>
#include <stdlib.h>
#define MAX_SIZE 100
#define MAZE_SIZE 10
typedef struct Pos {
short x;
short y;
}Pos;
typedef struct Stack
{
Pos data[MAX_SIZE];
int top;
}Stack;
char maze[MAZE_SIZE][MAZE_SIZE] =
{ { '1','1','1','1','1','1','1','1','1','1' },
{ 'e','0','1','0','1','1','1','1','1','1' },
{ '1','0','0','0','1','1','0','0','0','1' },
{ '1','1','1','0','1','1','0','1','1','1' },
{ '1','0','0','0','0','0','0','1','1','1' },
{ '1','1','1','1','1','0','1','1','1','1' },
{ '1','1','1','1','1','0','1','1','1','1' },
{ '1','0','0','0','0','0','1','1','1','1' },