Implements hash table based calculator with fair share algorithm