Amazon Interview Question - Coin on a Chess Board - Probability Puzzle