Solved endless loop on negative results

Replaced "euklid" function
Removed obsolete code
Removed Herobrine