added scala code to github