final commit, refactor and added arrays to cover all numerals