Merge pull request #1 from CharlesGust/algorithm

add basic sock initialization and sockMatch grid