code: public List<Object> assignmentToOutcome(Assignment assignment) {
      List<Object> returnValue = Lists.newArrayList();
      for (int varNum : nums) {
        returnValue.add(assignment.getValue(varNum));
      }
      return returnValue;
    }
docs: Gets the values of the variables in {@code Assignment} and
  returns them as a {@code List}. This operation is the inverse of
  {@link #outcomeToAssignment(List)}. The size of the returned list
  is equal to {@code this.size()}.
  
  @param assignment
  @return