Project Euler Problem 15 in F#