Made some changes to adjacency check so that it doesn't incorrectly check out of bounds for null values.
Made some changes to adjacency check so that it doesn't incorrectly check out of bounds for null values.

glennqhurd/lilyscheckers,glennqhurd/lilyscheckers,glennqhurd/lilyscheckers