unfinished, simple implementation of seam carving algorihtm.