port grains exercise
Merge pull request #8 from nathany/grains