First 2 attempts at the coin on the table challenge using greedy appry approach, results: 5/9 correct