began isPair, got confused, will start again soon with better idea (hint: arrays!)