Added 1 F# and 1 Scala implementations - Major Refactoring of F# version