Modifications to exchange logic
Merge attempt v1.3
Merge v1.4
Changes and Fixed. Issue #29 fixed. Basic Optimization enabled. Live variables disabled