Added new module bit_works. It carries the popcount function.
The test target is not general .... has to be fixed.
Added board_count_pieces to board.c.