calculate factorials and multifactorials in scheme