I got this on my first try:
+------------------+--+---+
| - | |
| -| |
| + |
| |- -|
| | + |
| |- -|
| + +
| -| |
| - | |
| - | |
| - |
+----------------+----+---+
I got that by drawing an exterior square with a single entrance in the bottom right hand corner. I then drew a line from the top wall to the bottom wall parallel to the left and right walls. I then drew a diagonal line from about a quarter of the way down the right wall left and downwards towards the bottom wall. I then drew a diagonal line from about three quarters of the way down the right wall, up and to left towards the top wall. This blocks off most of the maze. So I'm not sure the algorithm works as has been described.