Added some scheme functions for ex1.8