refactor(main.c): remove unused variables
refactor(common.h): change const define
feat(main.c) add more call to sumOfBits