Added timeout implementatins (perm, rounds, seconds)

Issue #19