Create CoinOnTable.py

Solves https://www.hackerrank.com/challenges/coin-on-the-table using graphs, not the most elegant solution ever, but it does work for the given input...