working arabic>rn
basic working functionality of converting rn>an and an>rn