Start of an entry for an old Underhanded C contest, I never actually made it underhanded