Started implementing more loop types and conditionals