Set base to 2. Added time measuring to main.c