updated documentation for loop/conditionals
changed the elseif/else operator syntax and added an empty loop
conditional