Refactor logic for comparison of guess

* Use hash to hold black / white pegs(results)

* Compare with #each_with_index for color, position