Super slow implementation of DES in C