adding halftone.cpp