An implementation of Conway's Game of Life using functional concepts in Swift