Add solution for Minimum Scalar Product problem