added getOrElse method to DoubleOption
added FormToGraph class for graph creation