It works now, needs to be optimized though
Merge pull request #4 from wdarvin/master

It works now, needs to be optimized though