There's only a 2 possible values, therefore a 2d boolean array will work perfectly fine (not to mention that the problem specifically says to represent the contents of a 2d boolean array as such :P)....