DShutdown is a very very simple program, that shuts computer down after given time.
It's written in C++, it has its own WinApi based GUI, and NSIS installer.
This code was written by me many years ago (in middle school) and was not reviewed since then. It may contain bugs and some abysmal coding practices.