Updated BetterBrain to use weights or old hashing algorithm, updated makefile to be configurable