CS61B project1 color image, edge detection, run-length encodings