Adds web app exporting functionality of get_lines_and_words.cpp file.