implemented basic loop
supports nested loops
supports simple conditional