Wrote code for conditionals and added test cases for true, false, and nested.