Finished transposition table implementation - needs testing.