Corrected calculating memory usage
Logging all instructions and functions
Counters of memory and registers usage were moved into loop
Basic calculation registers and memory usage
Added parsing PHINodes