The scalar product of two lists of integers $x s$ and $y s$ of length $n$ is given by the sum of the products of corresponding integers:
$$
\sum_{i=0}^{n-1}\left(x s_i * y s_i\right)
$$
In a similar manner to chisqr, show how a list comprehension can be used to define a function scalarproduct $::$ [Int] $\rightarrow$ [Int] $\rightarrow$ Int that returns the scalar product of two lists. For example:
$>$ scalarproduct $[1,2,3] \quad[4,5,6]$
32