Added compilation logic to ensure the last expression of a block is an
implicit return.

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