Added comments and constants for both classes. Got rid of the final bugs
from BadNeighbors, which required me to re-think my approach on an
important portion of the code. Both classes should work for all problems
now.