Paint Splatter program written in C