Overloading the crop function to receive x and y parameters other than height and width.