Prettified and tidied up code.
Prettified and tidied up code.

Moved variable initialisation to place of first use.
Removed uncessary braces to make functions more readable.
Do not use braces for simple statements, do use them for complex ones.

erikbos/mapcode-cpp,erikbos/mapcode-cpp