Changed formatting of if/while conditions to have a space after the keyword.
Added the Groovy Stream library as a dependency