Java Solution to the Coding Game challenge Power of Thor: http://www.codingame.com/ide/694501f21db8e4e2a1632fea038d057ca606e8