Add solution to 037
Add primeMap function