Arrowhead solution

Added solution for arrowhead exercise - arrowhead.rb