pOffset and cOffset fix

Renamed pOffset to HAND and cOffset to NEIGHBORS so their functions are
clearer.