Short notes on lamda, map, filter and reduce