Removed pieces array

Removed the array pieces[][] in the board struct, as it was redundant.
Changed existing code to use bitscans on the bitboards instead of iterating over the pieces array.
Did some general cleanup, removed unused functions such as pollDebugMove.