Add solutions for PEB1 in Haskell and Java.