border method in image.py 1st argument changes to self.