Experimental parallel programs in Scala and Java