add clear explaination for atoi function