Rewrote the isAdjacent function
We now pass all of our own tests and Prof. Rader's tests