HSpace class is a subclass of rectangle class and simply creates some empty horizontal space between two objects.