L
P
The agent may only move down or to the right, unless it is on a "special" cell, in which case it may move anywhere.