my solution for http://www.fogcreek.com/Jobs/Dev/