OMGWTF2 contest entry that I ran out of time on.