added png generating c++ program