Haskell generator for Java programs which compute nxn determinants