use bottom up approach to solve common dp problems in python str_cmp is speeded up using Numba JIT compiler, bring the performance close to compiled languages