Single Number II solved with extra space, a hashtable for counting occurences