Various changes

Distributed cache integrated (=> most Tests rewritten)
ProcessBuilder used instead of Runtime.exec()
Python error messages printed to console
Triangle example fully functional
python refactoring
Python functions can be reused