ordinal of number over 100

Fixes ordinal function on numbers over 100.
Added a failing test case, then the bug fix.