F# Factory Pattern

Factory Pattern