# I had already tested the code,it seem OK! Please check it when you use it. # Please tell me if you find any problem in this code or a better way to do this.