Added copy_while and fill_while algorithms.