In general, for speed we wish our main algorithm to be written in C. Tcl is an interpreted language and runs very much slower than compiled C. As Tcl provides a method to extend the language with our own commands we will create a new command, which in this case is to be named "composition".