initial commit
added and populated valueToIndex hash
added loop for checking for sum
fixed error in brackets
added explanation and complexities