Implemented Output class