Update main.cpp

I'm a dummy and I found out how to render images now.