Fixed east border bug

Added some debugging features (border health, space-to-step), fixed
logic error in calculating east board boundary, added direction
constants