2014-10-15 , version 3
2014-10-15 , version 4

Big change in the program. Much more stable but with the problem that
constant time-complexity will cause infinitive loop.