Implementation of map and reduce

Veeery limited support for list like structs of integers
but still good fun!