Added feature to optimize generated code by adding a bonus for the least number of instructions executed.
Fixed percentage output.
Merge branch 'master' of https://github.com/primaryobjects/AI-Programmer into CODE_OPTIMIZATION