Arrowhead solution

Added solution for arrowhead exercise - arrowhead.rb
Explicit non-nil checks are usually redundant.