Grains exercise | 1st iteration