Implementation of seam carving for content-aware image resizing for CS283