amsbook: generalize stats, add problems
amsbook: generalize stats, add problems

karolciba/playground,karolciba/playground,karolciba/playground,karolciba/playground,karolciba/playground,karolciba/playground