Trying out how to implement Ruby lambdas to make ruby a little bit more functional