Code for all parts of homework 3 are attached. My freestyle program determines whether an image has more green or combined blue and pink, in terms of total area.