Add pandoc build script for lessons