Coin Game | Codestudio Solution with Explanation