Create Difference Between Java, Scala and Haskell (Euler Question 1)

I got bored so I decided to do the first Euler question three times.