Fixes #17

Small fix. Former issue was that ord crashes on a zero length string.