A python program to play an arrow logic puzzle and solve it.