implemented and added new basic algorithm

- get median from stream of numbers