Premature optimisation

Removed unnecessary loop and variable
Merge pull request #4 from Sebbyastian/master

Premature optimisation