Fixed constructor

Added type, iterations and period to the Class' constructor
Merge pull request #3 from LCastr0/patch-1

Fixing constructor to display the effect properly.