My solution to the CodinGame challenge Indiana - Level 1: