I found your script right here in the Computer Hope Help pages. You may have damaged your disk.
http://www.computerhope.com/rdebug.htmDisclaimer:
The following are various Debug Routines that you can run on your computer to do various tasks. However, some can possibly damage computer components or cause them not to work properly. We are providing these debug routines as a reference. If these cause problems with the computer they are ran on Computer Hope will not be held responsible for your actions. We recommend that only experienced computer users being aware of the potential hazards use the following routines.
I would suggest taking the PC to a computer shop for a full analysis.
Good luck.