do bag exercises. run into some Coq syntax problems (infix functions, pattern-matching)