added basic perl solution
Merge pull request #149 from worr/perl

added basic perl solution