Need help with my maze

Please use code tags and elaborate.