Update captured pieces record when moves are applied.

Closes #22. Fixes #19.