License statement

Add license statement to map-functions.lua