Updated exec to output cuadruples to console