Rewrote the IsPassable code to also use the array.

So now I don't have to use #define for my tile types! Also modified the
map a little for ease of testing.