Added include statement for VS

#include <algorithm>