added solution to problem 1 in fsharp