Added bool properties genration
Debuged if block generation
Added subprogram call generation