Create Boolean Wall Testing

Possible functions to be used if we were to represent each wall combination with a number form 0 to 15.