Add feature to correctness test: support comparing list of strings (#183)
Add feature to correctness test: support comparing list of strings (#183)

* Support match list of strings or of integers as output

* allow the correctness test to compare learner's output if the output is an array of strings

* 1. Use angular.isArray() to exmaine if an input is array; 2. Use Array.some() to check if any of the learner's output matches allowed outputs

* Use cleaner way to compare array as Sean suggested: previously it used stringified version of arrays and then do comparison. this iteration use angular.equals(arrayA, arrayB) which is cleaner and more efficient.

google/tie,BenjaminHolland/tie,google/tie,google/tie,BenjaminHolland/tie,BenjaminHolland/tie