Move bgChar and bgStr defs to common.h
Refactor bogo.c

- Move main() to main.c
- Fix naming convention
- Introduce bogo.h