Sequent calculus as a programming language