Added toString() method for the Frame