iCloud is not a backup!!!!!!!!
Time Machine, a bootable clone or an online service is backup. Operating ANY computer without a backup plan is dangerous and is a 100% guarantee of lost data.
First I would recommend that you shut down the computer, then restart while holding down the power key for about 15 seconds. If that does not work, reset the NVRAM and restart in Safe Mode.
If all else fails, your best bet is to restart in the Recovery Partition (Hold down Command + R keys on startup) and then install Mac OS.
After you have cleaned up the situation you are in, please create a backup. To begin I would recommend Time Machine which is pre-installed on your computer and only requires an external HD such as one the following OWC Mercury Elite Pro , the HD should be about 2-3 times the capacity of your storage amount. If you have never heard of Time Machine or are not familiar with it, please look over Back up your Mac with Time Machine
Good luck!