This code solves the Game of Thrones I problem from hackerrank.
https://www.hackerrank.com/challenges/game-of-thrones