Modified rotate to use std::rotate function.
Added min, max, and find methods.