building data structures in scheme