Part 2 (image gradient) is done and tested