Add scala code to mainline
Merge pull request #135 from aljoscha/add-scala-frontend

Add scala code to mainline
Fixed translation bug where solution set was first input to the join.