Refactor to chain of responsibility, add CommonNumHandler
Refactor to chain of responsibility.
// TODO: There is a bug that when you run all unit tests, some tests may fail, as you re-run it alone, it will pass.