Use built-in list and cons to replace pair. Cannot understand what I was thinking...