Good, seems there wasn't a hardware issue. I would still recommend you to buy an external drive/Time Capsule to configure with Time Machine if you don't have it.
Also, invest in an app called TechTool, it will run thorough surface scans on your hard drive to look for bad sectors and stuff. My favorite disk diagnosing tool. 🙂