Add common functions to 'ch1.rkt' and rename it to 'common.rkt'