Slightly different implementation of hxim's idea for supported/unsupported pawns