Solves of the problems for HackerRank in F#