week6 isPrime function
week6 scalar product collection function
week6 for in high-order functions