reduced some of the nesting
methods for if and for

now successfully converts O'Neil code into C# code for most cases and
compiles for most cases