If the system was running, then the fan cranked up and then the buildings power goes out implies you encountered a power surge from the power company. Did you see them out and about your streets trying to get the power back on? Sometimes the line transformers short out driving a high voltage spike down. Do you use a power surge suppressor or a UPS? Is your telco or cable connection also protected?
It might be wiser getting a new system as the needed parts is likely to exceed the cost of just getting a used working system, as you are heading to collage a laptop maybe a better system for you like new M Series MacBook Air system which will offer better performance and is something you can carry to class.
Recovering your stuff might only need an external SATA HDD case to slide your internal drive into. The only tricky part here is the cases ports need to interface what the replacement.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
0
crwdns2944067:02crwdne2944067:0
I corrected your model info, I gave you the 21.5" if it's the 27" we can fix it. Click on the image to get to the guides we have for the system.
crwdns2934271:0crwdnd2934271:0 Dan crwdne2934271:0
I don't really know what's the size of the screen man
crwdns2934271:0crwdnd2934271:0 Imac_user crwdne2934271:0