create basics of Collatz class