Start on encoding in Codepage 437.
Add encoding based on the DF tileset.
Fix bugs.

Mainly caused by wide chars.
Update makefile to use gcc.

Also added a new example which infinitely loops.
Merge branch 'workshop/encode' into develop