Shortened my if statements

In Neighbours class