Implemented looping and counter decorators

- Actually just implemented as boolean and int attributes respectively
Removed some whitespace