Added generation of finish instruction on the end of a program
compilation in new compiler.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>