With threads

It's a proposal implementation of median with threads