This method can be helpful only for native speakers. These кого, кому etc. are themselves cases of кто. When we, natives, shoose a "promt word" we unconsciously put кто or что in the right case....