Add assignment 1: heuristics (in Ruby)