Added prototype for Write_Nth_Number
Added Write_Nth_Number
Added test for Write_Nth_Number