An attempt to solve some ProjectEuler problems using functional javascript.