Add tpch q1.cpp. Fix bug in map. Add builtins.

return type for result collection in map was wrong.
can't believe no one tried using map until now.