Removed use of seq command.
Merge pull request #15 from Aluin/master

Removed use of seq command, fixes #11.