Tried to reinstall osX and ended up getting folder with questionmark on boot
First things, power on with the space key pressed to eject the CD if needed.
Then power on with command+s held - if there is any OS X volume that's bootable, you can get some basic info
If not, reset the NVRAM - (Command Option P R) and hold until you hear the third boot chime.
After the third chime, hold option only and you should end up at a grey screen.


Take a picture of that and post a follow on question with more details / less broad open-ended. If you want to boot from the CD/DVD and wipe everything, ask that. If you can get to single user mode, then you might be able to patch things together.