Implemented the ifthenelse conversion.
Added a more complex test for the ifthenelse conversion.
Added nested ifs as a test.
Added a test for the elif control