Arrowhead refactoring exercise

First attempt at refactoring arrowhead.rb
Line is too long. [96/80]