possibly fixed score algorithm; added DEBUG defines for printing and colors