hashmap implementation beginning, bstring stuff