Environmentally safe desalination technology for production of fresh water through medium size desalination plant