Implement checkboxes

This commit implements the "checking" of checkboxes.