Started playing around with some functional programming stuff