Added LaTeX functional program example