Update wota.c

New faster solution from wota