Add solution for checking rotation point for array of strings. Can be further optimized.