https://tutorial.eyehunts.com/puzzle/handshake-puzzle/
Handshake Puzzle