Currently...

Code:
SX
PXPPPPE
 PX
Should be...

Code:
SX
PX  PPE
 PXP
  P
X= WALL
S=START
E=END
P=PATH

The path should go around the lower X, instead is squeezes between the lower and middle X.