some exercises for SICP