Ok, instead of trying to do it myself, I went to a friend of mine, who works at a computer shop, and asked him to help me with it.
He has a new copy of windows 7, that we were going to put on an SSD in my pc. So we plopped the SSD in, put the CD in, and tried to boot it up to install windows, and it went to the BIOS. So we looked arround in the bios, and found an option in bootable options, that had a dropdown menu for the type of bootable CD or USB that we were trying to put in. It had 2 options, Windows, or Other OS. So we put other Windows in, and it gets to the windows start screen, then freezes. So we put other OS, and when we tried to boot it up, it loaded into the windows 7 install start screen, then the keyboard and mouse stopped working. So we went back into the bios, and the keyboard was working there, as was the mouse, so we tried again. and still, the keyboard and mouse weren't working.
I'm thinking it's the motherboard, but i don't know.