Functions and exercises from 'The Little Schemer' by Friedman and Felleisen, implemented in JavaScript