Add stream median solution