Consider this problem: four people come to a party and shake hands with each other. If each shakes the hand of every other person, how many handshakes were there in all? Design a mathematical model to solve the handshake question. Explain the solution.