DWITE 2005-02 P2: Revamped algorithm.
DWITE 2005-10 P1, P2, P4: Simplified code.
DWITE 2005-02 P1, P4, 2005-10 P5: Tweaked code.
DwiteAlgorithm, various solutions: Refactored von Neumann and Moore neighborhood directions constants to a shared field.