add support for gen-idea
specify the version of scala used in the console
solve challenge 131 with scala