add curly brackets and semicolumn to single item if blocks
group if else at the base of the first if (currently buggy if there is an if inside an if)