Not appropriate diet for 3 week olds.
The whole kernal corn by its self would be indigestible for them and to large. That in itself could have done them in.
Chick crumble for a good 2 months, then grower for a couple months after that.
Sorry about your chicks.