Chaotic code, algorithms, java etc