Homework 11
Problem 1 - extended with separate values for each color channel
Problem 2