adding groovy files from the introduction chapter